#ifndef IM_Server_h__
#define IM_Server_h__

#include "ConfDef.h"

class Base_MessageCore;
class IM_Socket_Server;
class IM_Gate;
class IM_AccountServer;

class IM_Server
{
public:
	IM_Server();
	~IM_Server();

	bool init( const Config & conf);
	int run();
private:
	Base_MessageCore * m_base_message_core;
	IM_Socket_Server * m_socket_server;
	IM_Gate			*  m_gate;
	IM_AccountServer * m_account_server;
};


#endif // IM_Server_h__

